package cocom.iplatform.piaoerbai.service.impl;

import cocom.iplatform.piaoerbai.bean.FileBean;
import cocom.iplatform.piaoerbai.dao.FileDao;
import cocom.iplatform.piaoerbai.service.FileService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @className: FileServiceImpl
 * @description: TODO 类描述
 * @author: chensk
 * @date: 2020/12/3
 **/
@Service
public class FileServiceImpl implements FileService {
    @Resource
    private FileDao fileDao;
    @Override
    public int addFile(FileBean fileBean) {
        return fileDao.addFile(fileBean);
    }

    @Override
    public List<FileBean> selectByCondition(FileBean fileBean) {
        return fileDao.selectByCondition(fileBean);
    }
}
